﻿/*
    TeamMatches for Kaixin001.com 

    Copyright (C) 2008, TurboZV, turbozv@gmail.com, http://www.turbozv.com/

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    *KEEP THIS HEADER INFORMATION*
*/

using System;
using System.IO;
using System.Threading;
using System.Diagnostics;
using System.Collections.Generic;
using System.Collections.ObjectModel;

using KXCommon;
//using LZRobot;


namespace KaixinHouse
{
    class Program
    {

        static void Main(string[] args)
        {

            //Program take args like
            //-u seaka@sohu.com
            //-p zdhs16
            //-dogarden
            //-moveto uid:houseid
            //-dowork
            Console.WriteLine("KXHouse V0.1 for Kaixin001.com by Lance Zhao 2009.01.22\n");

            string[] test = { "-u", "kang_ji@163.com", "-p", "iforgot", "-dowork", "-dogarden" };

            //必须存在这里，不可移出，初始化static变量时使用
            TraceLog.PrintLn("  * {0} Initializing, RepeatTime={1}!", HttpHelper.inst.ToString(), GlobalConfigHelper.config.RepeatTime);
            
            _RunTime.execute(args);
        }
    }
}
